<?php


    // Cookie 
    // 客户端 携带Cookie => 服务器端
    // 服务器端  接收cookie 修改cookie  => 客户端  

    // print_r($_COOKIE);

    // time()  php 内置的获取当前时间对应的秒数
    $time = time() + 60 * 60 * 24;
    // echo $time;
    
    // setCookie php内置的方法  
    
    setCookie("user","zuozuomu",$time,"/");
    setCookie("pass","abc123",$time,"/");
    setCookie("phone","18012341234",$time,"/");

    
?>